package com.xgll.modules.api.entity;

import java.util.List;

public class QuestionVo {
	
	private static final long serialVersionUID = 1L;
	
	//主键
	private Integer id;
	//用户id
	private Long user_id;
	//安全问题
	private String question;
	//回答
	private String answer;
	
private List<QuestionVo> questions;
	
	public List<QuestionVo> getQuestions() {
		return questions;
	}

	public void setQuestions(List<QuestionVo> questions) {
		this.questions = questions;
	}
	    

	public QuestionVo(List<QuestionVo> questions) {
		super();
		this.questions = questions;
	}
	
	 public QuestionVo(String question, String answer) {
			this.question = question;
			this.answer = answer;
		}
	public QuestionVo() {
	// TODO Auto-generated constructor stub
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Long getUser_id() {
		return user_id;
	}
	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	@Override
	public String toString() {
		return "QuestionVo [id=" + id + ", user_id=" + user_id + ", question=" + question + ", answer=" + answer + "]";
	}
		

}
